package com.itheima.prototype.demo;

/**
 * @author zzw
 * @date 2025/9/22
 * @description 测试访问类
 */
public class PrototypeTest {
    public static void main(String[] args) throws CloneNotSupportedException {
        RealizeType r1 = new RealizeType();
        RealizeType r2 = r1.clone();

        System.out.println("对象r1和r2是同一个对象？" + (r1 == r2));
    }
}
